projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a46642
)
* xfns.c (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip.
author
Jan D
<jan.h.d@swipnet.se>
Wed, 11 Aug 2010 18:47:34 +0000
(20:47 +0200)
committer
Jan D
<jan.h.d@swipnet.se>
Wed, 11 Aug 2010 18:47:34 +0000
(20:47 +0200)
src/ChangeLog
patch
|
blob
|
history
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 1275b4a8def57e759006e2bb49024e1e1235b3f3..7e8959d4b618d57545e3d6cdfbf3129f7627db21 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-2,6
+2,7
@@
* xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors
first.
+ (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip.
* gtkutil.h (xg_check_special_colors): Declare.
diff --git
a/src/xfns.c
b/src/xfns.c
index 8544d9e3e1040cf0d9e73b3a734beb7944597759..e2d571a847f0a45c92da5b0d3b53e6ff30f5244f 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-5237,7
+5237,7
@@
Value is t if tooltip was open, nil otherwise. */)
/* When using system tooltip, tip_frame is the Emacs frame on which
the tip is shown. */
f = XFRAME (frame);
- if (xg_hide_tooltip (f))
+ if (
FRAME_LIVE_P (f) &&
xg_hide_tooltip (f))
frame = Qnil;
#endif